#include "logger.h"

Logger::Logger( QPlainTextEdit *pLog ) {
    m_pLogger = pLog;
}

void Logger::log(const char *zpMessgae) {
    log( QString( zpMessgae ) );
}

void Logger::log(QString strMessgae) {
    m_pLogger->appendPlainText( strMessgae );
}

void Logger::log(int iMessage) {
    log ( QString::number( iMessage ) );
}
